package com.softeem.common.valid;

import javax.validation.Constraint;
import javax.validation.Payload;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Constraint(validatedBy = {ListValueConstraintValidator.class})
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.CLASS)
public @interface ListValue {
    String message() default "{com.softeem.common.valid.ListValue.message}";

    Class<?>[] groups() default { };

    Class<? extends Payload>[] payload() default { };

    int[] vals() default {};
}
